Chain and Product Rule together